package com.carol.lmsbe.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 设备借用审批请求DTO
 */
@Data
public class EquipmentBorrowApprovalRequest {

    @NotNull(message = "借用记录ID不能为空")
    private Long borrowId;

    @NotBlank(message = "审批状态不能为空")
    private String status;

    @NotNull(message = "审批日期不能为空")
    private LocalDateTime approvalDate;

    private String approvalComment;
}
